/*
 * ModelId.h
 *
 *  Created on: 2011-03-21
 *      Author: kamil
 */

#ifndef MODELID_H_
#define MODELID_H_

class ModelId{
public:
	ModelId();
	ModelId(int newId);
	~ModelId();

	operator int() const;
	bool operator==(const ModelId &);
	ModelId & operator=(const ModelId &);

	static ModelId UNDEFINED;

private:
	int id;
	static const int _undefined = -1;
};

#endif /* MODELID_H_ */
